<?php
/**
 * Display unit's introduction with appropriate "Start new" and "Continue" options
 */
?>
<h1>Introduction: <?php echo $cdeUnit['CdeUnit']['title']; ?></h1>

<p class="intro"><?php echo $cdeUnit['CdeUnit']['introduction']; ?></p>
<br />
<p>
<?php
if ($cdeUnit['CdeUnit']['startmodule']!=null) {
?>
	<a class="intro" href="../../cde_modules/startnew/<?php echo $cdeUnit['CdeUnit']['id']; ?>/<?php echo $cdeUnit['CdeUnit']['startmodule']; ?>">Start new</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	
	<?php
	if ($cdeUnit['CdeUnit']['startmodule']!=$cdeUnit['CdeUnit']['currentmodule']) {
	?>
		<a class="intro" href="../../cde_modules/moduledetails/<?php echo $cdeUnit['CdeUnit']['id']; ?>/<?php echo $cdeUnit['CdeUnit']['currentmodule']; ?>">Continue</a>
	<?php
	}
	?>
<?php
}
?>
</p>
